package com.linzm.optional;

import java.util.Optional;

/**
 * @Author zimingl
 * @Date 2022/10/30 18:59
 * @Description: TODO
 */
public class Tearch {

    private String name;
    private Optional<Student> student;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Optional<Student> getStudent() {
        return student;
    }

    public void setStudent(Optional<Student> student) {
        this.student = student;
    }
}
